<style>
.wrapper_personalmenu{
	text-align:right;
	color:#eee;	
	font-size:11px;
	min-height:20px;
}

.wrapper_personalmenu a{
	color:#eee;
	padding:3px 5px 3px 5px;
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px;
	border-radius:3px;
}

.wrapper_personalmenu a:hover{
	color:#eee;
	background-color:#1f82a2;
	text-decoration:none;
}
.be_title{
	float:left;
	width:50%;
	min-height:10px;
	text-align:left;
	font-size:12px;
	text-indent:3px;
	font-weight:bold;
	color:#009ed2;
}
.personal{
	width:50%;
	float:left;
	text-align:right;
}
</style>

<div class="wrapper_personalmenu">
	<div class="be_title">
    	<?php
			if (strlen($this->getController()->website->betitle))
			{
				echo CHtml::image(
					Yii::app()->baseUrl."/assets/icon/icon-16-session.png",
					"",
					array("align"=>"absmiddle")
				);
				echo " ";
				
				echo $this->getController()->website->betitle;
			}
		?>
    </div>
    
    <div class="personal">
		<?php
			echo "Chào bạn, ";
			echo CHtml::link(
				"<strong>" . $this->getController()->user->username . "</strong>",
				"#",
				array("title"=>"Trang cá nhân")
			);
            echo "&nbsp;&nbsp;|&nbsp;&nbsp;";           
            echo CHtml::link(
                "Thoát",
                array("/system/login/sign_out")
            );
        ?>	
    </div>
</div>
